package com.spzx.payment.service;

import com.spzx.payment.domain.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 * 付款信息表 服务类
 * </p>
 *
 * @author atguigu
 * @since 2025-05-10
 */
public interface PaymentInfoService extends IService<PaymentInfo> {

    PaymentInfo savePaymentInfo(String orderNo);

    /**
     * 用户付款成功后，更新本地交易记录
     * @param paramMap
     */
    void updatePaymentStatus(Map<String, String> paramMap);
}
